﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Backend

{
    [DataContract]
   public class Passenger
    {

          [DataMember]
        private String fName;

       [DataMember]
       private String lName;

       [DataMember]
       private String title;

       [DataMember]
       private String dateOfBirth;
       [DataMember] 
       private String gender;
       [DataMember] 
       private String contacts;
       [DataMember]
        private int dbID;

 
        
      

        public Passenger()
        {
                
        }


        public int DbID
        {
            get { return dbID; }
            set { dbID = value; }
        }

        public Passenger(String fName, String lName,String title, String dateOfbirth,String gender,String contacts)
        {
            this.fName = fName;
            this.lName = lName;
            this.title = title;
            this.dateOfBirth = dateOfbirth;
            this.gender = gender;
            this.contacts = contacts;
        }


        public String LName
        {
            get { return lName; }
            set { lName = value; }
        }


        public String Title
        {
            get { return title; }
            set { title = value; }
        }


        public String DateOfBirth
        {
            get { return dateOfBirth; }
            set { dateOfBirth = value; }
        }


        public String Gender
        {
            get { return gender; }
            set { gender = value; }
        }


        public String FName
        {
            get { return fName; }
            set { fName = value; }
        }

        public String Contacts
        {
            get { return contacts; }
            set { contacts = value; }
        }

    }
}
